package com.csun.cmny.provider.model.dto.longRangeServiceOrder;

import lombok.Data;
import org.apache.ibatis.type.Alias;

import javax.persistence.*;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class LongRangeSuperviseAnOrderMerchandiseDto {




    /*商品名称*/
    @NotEmpty(message = "{merchandise.merchandiseName.null}")
    private String merchandiseName;

    /*服务人员id*/
    private Long serviceStaffId;


    /*二级服务类别id*/
    @NotNull(message = "{merchandise.secondLevellId.null}")
    private Long secondLevellId;


    /*商品单价*/
    @NotNull(message = "{merchandise.unitPrice.null}")
    private BigDecimal unitPrice;

    /*远程监测商品每月附送服务次数*/
    @NotNull(message = "{merchandise.serviceNumber.null}")
    private Integer serviceNumber;


    /*服务人员提成比例   %*/
    @NotNull(message = "{merchandise.serviceFee.null}")
    private Integer serviceFee;


    private String imgsCode;


    /*详情*/
    private  String particulars;


}
